package com.egao.common.module.recommendation.entity;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author cj
 * @since 2025-03-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("freelance_registration_form")
@ApiModel(value="FreelanceRegistrationForm对象", description="普通高校毕业生自由职业登记表")
public class FreelanceRegistrationForm implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty("学院编码")
    @TableField("college_code")
    private String collegeCode;

    @ApiModelProperty("学号")
    private String xh;

    @ApiModelProperty("姓名")
    private String xm;

    @ApiModelProperty("学历，引用字典表sys_dict.type=xl")
    @TableField(exist = false)
    private String xl;

    @TableField(exist = false)
    private String mobile;

    @TableField(exist = false)
    private String email;

    @ApiModelProperty(value = "工作内容（或行业）")
    @TableField("industry")
    private String industry;

    @ApiModelProperty(value = "工作收入")
    @TableField("salary")
    private BigDecimal salary;

    @ApiModelProperty(value = "工作地点（省）")
    @TableField("work_province")
    private String workProvince;

    @ApiModelProperty(value = "工作地点（市、州）")
    @TableField("work_city")
    private String workCity;

    @ApiModelProperty(value = "工作地点（区、县）")
    @TableField("work_county")
    private String workCounty;

    @ApiModelProperty(value = "状态 0-待提交 1-待审核 2-审核通过 3-审核不通过")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "审核时间")
    @TableField("review_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date reviewTime;

    @ApiModelProperty(value ="审核人")
    @TableField("review_user")
    private Integer reviewUser;

    @ApiModelProperty(value = "学院审核意见")
    @TableField("review_comment")
    private String reviewComment;

    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @TableField("update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @ApiModelProperty(value = "逻辑删除 0-否 1-是")
    @TableField("deleted")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty("生成标识")
    @TableField("gen_flag")
    private Integer genFlag;

    @ApiModelProperty("存放地址")
    @TableField("rpt_url")
    private String rptUrl;

    @ApiModelProperty("学历")
    @TableField("degree")
    private String degree;

}
